<table width="100%" border="0" cellspacing="0" cellpadding="0">

  <tr>
    <td><img src="<?php echo $this->imgUrl  ?>/laptop.gif" width="100%" height="31" /></td>
  </tr>
  <?php
  if(count($this->productCat)==0) //Ne array 'prodcutCat' khong ton tai doi tuong nao thi cho "San Pham Dang Cap Nhat".Nhu truong hop case=1(laptop sieu cap >30.000)chua co gia tri nao
  {
  	echo "<tr><td id='tdcell' height='50'>";
  	echo "San Pham Dang Cap Nhat";
  	echo "</td></tr>";
  }
  else
  {
   foreach($this->productCat as $value)
  {
  ?>
  <tr>
    <td>
    
    <table width="100%" id="tablecontent"  >
  <tr>
    <td width="155" align="center" bordercolor="#BFB5C2" id="tdcell"><img src="/zendshopping/public/upload/<?php echo $value['Image']; ?>" width="129" height="100" />        </td>
    <td width="241" bordercolor="#BFB5C2" id="tdcell">
    <p>
    <?php echo $value['TenSP'];?>    </p>
        <?php echo $value['TomTat'];?>
    <p>
    So Luot Xem: <?php echo $value['luotxem'];?>    </p>    </td>
    <td width="198" align="center" bordercolor="#BFB5C2" id="tdcell2">
    <a href="<?php echo $this->url(array("controller"=>"product","action"=>"descript","getProduct"=>$value['idSP']),null,true);?>">
    <img border="0" src="<?php echo $this->imgUrl  ?>/xemchitiet_but.gif" width="85" height="21"  boder="0"/>
  
    </a></td>
  </tr>
</table></td>
  </tr>
  <?php
 
  		}
	}
  ?>

</table>